package com.ksyun.onepass.service;

import com.ksyun.onepass.domain.po.User;

import java.math.BigDecimal;
import java.util.List;

public interface UserService {
    List<User> queryUserAmounts(List<Long> uids);

    BigDecimal getUserBalance(Long sourceUid);

    void deductAmount(Long sourceUid, BigDecimal amount);

    void addAmount(Long targetUid, BigDecimal amount);
}
